<!--
 * @Author: doing
 * @Date: 2023-09-07 17:58:19
 * @LastEditors: git config user.name && git config user.email
 * @LastEditTime: 2023-09-07 17:59:44
 * @FilePath: \水果新鲜识别项目\web-admin\src\pages\PhotoUpload\index.vue
 * @Description: 
 * 
 * Copyright (c) 2023 by 1540265624@qq.com, All Rights Reserved. 
-->
<template>
    <div>这是图片上传</div>
</template>
  
  <script setup>
  import { reactive, ref, computed, watchEffect } from 'vue'
  
  // 响应式数据对象
  const state = reactive({
    
  })
  
  // ref 类型的响应式数据
  const count = ref(0)
  
  // 计算属性
  const doubleCount = computed(() => count.value * 2)
  
  // 监听响应式数据变化
  watchEffect(() => {
    console.log('Count changed:', count.value)
  })
  
  // 方法
  function increment() {
    count.value++
  }
  </script>
  
  <style scoped>
  
  </style>